﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000845 RID: 2117
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetStuffScNotify : IMessage<GetStuffScNotify>, IMessage, IEquatable<GetStuffScNotify>, IDeepCloneable<GetStuffScNotify>, IBufferMessage
	{
		// Token: 0x17001ACA RID: 6858
		// (get) Token: 0x06005EDA RID: 24282 RVA: 0x000FD485 File Offset: 0x000FB685
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetStuffScNotify> Parser
		{
			get
			{
				return GetStuffScNotify._parser;
			}
		}

		// Token: 0x17001ACB RID: 6859
		// (get) Token: 0x06005EDB RID: 24283 RVA: 0x000FD48C File Offset: 0x000FB68C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetStuffScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001ACC RID: 6860
		// (get) Token: 0x06005EDC RID: 24284 RVA: 0x000FD49E File Offset: 0x000FB69E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetStuffScNotify.Descriptor;
			}
		}

		// Token: 0x06005EDD RID: 24285 RVA: 0x000FD4A5 File Offset: 0x000FB6A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetStuffScNotify()
		{
		}

		// Token: 0x06005EDE RID: 24286 RVA: 0x000FD4AD File Offset: 0x000FB6AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetStuffScNotify(GetStuffScNotify other) : this()
		{
			this.dGPGBHDBHMJ_ = other.dGPGBHDBHMJ_;
			this.bIIHOBMMFDP_ = other.bIIHOBMMFDP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005EDF RID: 24287 RVA: 0x000FD4DE File Offset: 0x000FB6DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetStuffScNotify Clone()
		{
			return new GetStuffScNotify(this);
		}

		// Token: 0x17001ACD RID: 6861
		// (get) Token: 0x06005EE0 RID: 24288 RVA: 0x000FD4E6 File Offset: 0x000FB6E6
		// (set) Token: 0x06005EE1 RID: 24289 RVA: 0x000FD4EE File Offset: 0x000FB6EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetStuffType DGPGBHDBHMJ
		{
			get
			{
				return this.dGPGBHDBHMJ_;
			}
			set
			{
				this.dGPGBHDBHMJ_ = value;
			}
		}

		// Token: 0x17001ACE RID: 6862
		// (get) Token: 0x06005EE2 RID: 24290 RVA: 0x000FD4F7 File Offset: 0x000FB6F7
		// (set) Token: 0x06005EE3 RID: 24291 RVA: 0x000FD4FF File Offset: 0x000FB6FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BIIHOBMMFDP
		{
			get
			{
				return this.bIIHOBMMFDP_;
			}
			set
			{
				this.bIIHOBMMFDP_ = value;
			}
		}

		// Token: 0x06005EE4 RID: 24292 RVA: 0x000FD508 File Offset: 0x000FB708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetStuffScNotify);
		}

		// Token: 0x06005EE5 RID: 24293 RVA: 0x000FD516 File Offset: 0x000FB716
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetStuffScNotify other)
		{
			return other != null && (other == this || (this.DGPGBHDBHMJ == other.DGPGBHDBHMJ && this.BIIHOBMMFDP == other.BIIHOBMMFDP && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005EE6 RID: 24294 RVA: 0x000FD554 File Offset: 0x000FB754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DGPGBHDBHMJ != GetStuffType.Unknow)
			{
				num ^= this.DGPGBHDBHMJ.GetHashCode();
			}
			if (this.BIIHOBMMFDP != 0U)
			{
				num ^= this.BIIHOBMMFDP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005EE7 RID: 24295 RVA: 0x000FD5B2 File Offset: 0x000FB7B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005EE8 RID: 24296 RVA: 0x000FD5BA File Offset: 0x000FB7BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005EE9 RID: 24297 RVA: 0x000FD5C4 File Offset: 0x000FB7C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DGPGBHDBHMJ != GetStuffType.Unknow)
			{
				output.WriteRawTag(40);
				output.WriteEnum((int)this.DGPGBHDBHMJ);
			}
			if (this.BIIHOBMMFDP != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.BIIHOBMMFDP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005EEA RID: 24298 RVA: 0x000FD620 File Offset: 0x000FB820
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DGPGBHDBHMJ != GetStuffType.Unknow)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.DGPGBHDBHMJ);
			}
			if (this.BIIHOBMMFDP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BIIHOBMMFDP);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005EEB RID: 24299 RVA: 0x000FD678 File Offset: 0x000FB878
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetStuffScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DGPGBHDBHMJ != GetStuffType.Unknow)
			{
				this.DGPGBHDBHMJ = other.DGPGBHDBHMJ;
			}
			if (other.BIIHOBMMFDP != 0U)
			{
				this.BIIHOBMMFDP = other.BIIHOBMMFDP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005EEC RID: 24300 RVA: 0x000FD6C8 File Offset: 0x000FB8C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005EED RID: 24301 RVA: 0x000FD6D4 File Offset: 0x000FB8D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.BIIHOBMMFDP = input.ReadUInt32();
					}
				}
				else
				{
					this.DGPGBHDBHMJ = (GetStuffType)input.ReadEnum();
				}
			}
		}

		// Token: 0x04002482 RID: 9346
		private static readonly MessageParser<GetStuffScNotify> _parser = new MessageParser<GetStuffScNotify>(() => new GetStuffScNotify());

		// Token: 0x04002483 RID: 9347
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002484 RID: 9348
		public const int DGPGBHDBHMJFieldNumber = 5;

		// Token: 0x04002485 RID: 9349
		private GetStuffType dGPGBHDBHMJ_;

		// Token: 0x04002486 RID: 9350
		public const int BIIHOBMMFDPFieldNumber = 9;

		// Token: 0x04002487 RID: 9351
		private uint bIIHOBMMFDP_;
	}
}
